package dao;

import bean.Scores;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;


public interface ISconresDao {

@Autowired

   List<Scores> selectAll();


    Scores getScores(String number);
    //添加
    int insertScores(String newnumber, Integer newchinese, Integer newmath, Integer newenglish);

    int updateScores(String number, Integer newMath);

    //修改
    int updateScores( Integer newmath,String number);
}
